home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils2 / mda.zip / READ.ME < prev   
Text File  |  1994-06-13  |  1KB  |  39 lines

  1.                                MDA.SYS
  2.  
  3. 13 June 1994
  4.  
  5.     This is  a  simple  screen  driver  designed  for  users  (usually
  6. developers) with a two-monitor system. It's an installable driver, and
  7. once installed you can redirect output  to  it,  or open it as a file.
  8. Installation is simple - you add a  line to your CONFIG.SYS file, like
  9. this:
  10.  
  11. DEVICE=MDA.SYS
  12.  
  13.     The device name is MDA.
  14.  
  15.     I use it to redirect compiler and linker output, so that any error
  16. messages are left on  the  mono  screen  for  me  to  refer to while I
  17. correct any problems  in  the  source  code.  Tabs  are  expanded to 4
  18. spaces.
  19.  
  20.     From within your own programs you  can  open the device as a file,
  21. and send diagnostic messages to it. For example:
  22.  
  23. DebugHandle = open ("MDA", O_APPEND | O_RDWR) ;
  24. write (DebugHandle, OKMessage, sizeof (OKMessage)) ;
  25.  
  26.     You need to use  open()  as  opposed  to  fopen() since the latter
  27. provides buffering, so you  may  not  see  your  output straight away.
  28. Remember to close() the file when finished.
  29.  
  30.     The driver does not currently  check  for  the  presence of an MDA
  31. adapter during installation.
  32.  
  33.     The software is provided for you  to  use  at your own risk, and I
  34. will not be held responsible for  any  damage or loss, however caused,
  35. arising as a result of the use of this program.
  36.  
  37. Adrian Urquhart
  38. 100126,1211
  39.